package com.example.demo.mapper;

import com.example.demo.entity.CommentSection;
import com.example.demo.entity.CommentSectionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CommentSectionMapper {
    long countByExample(CommentSectionExample example);

    int deleteByExample(CommentSectionExample example);

    int deleteByPrimaryKey(Integer commentSectionId);

    int insert(CommentSection record);

    int insertSelective(CommentSection record);

    List<CommentSection> selectByExample(CommentSectionExample example);

    CommentSection selectByPrimaryKey(Integer commentSectionId);

    int updateByExampleSelective(@Param("record") CommentSection record, @Param("example") CommentSectionExample example);

    int updateByExample(@Param("record") CommentSection record, @Param("example") CommentSectionExample example);

    int updateByPrimaryKeySelective(CommentSection record);

    int updateByPrimaryKey(CommentSection record);
}